package com.cyzy.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Timestamp;

@TableName("admin_user")
public class AdminUser {

  @TableField("admin_id")
  private Integer adminId;
  private String username;
  private String password;
  private Integer roleId;
  private Timestamp createTime;
  @TableField("admin_state")
  private Integer adminState;


    public AdminUser() {
    }

    public AdminUser(Integer adminId, String username, String password, Integer roleId, Timestamp createTime, Integer adminState) {
        this.adminId = adminId;
        this.username = username;
        this.password = password;
        this.roleId = roleId;
        this.createTime = createTime;
        this.adminState = adminState;
    }

    /**
     * 获取
     * @return adminId
     */
    public Integer getAdminId() {
        return adminId;
    }

    /**
     * 设置
     * @param adminId
     */
    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return roleId
     */
    public Integer getRoleId() {
        return roleId;
    }

    /**
     * 设置
     * @param roleId
     */
    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    /**
     * 获取
     * @return createTime
     */
    public Timestamp getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return adminState
     */
    public Integer getAdminState() {
        return adminState;
    }

    /**
     * 设置
     * @param adminState
     */
    public void setAdminState(Integer adminState) {
        this.adminState = adminState;
    }

    public String toString() {
        return "AdminUser{adminId = " + adminId + ", username = " + username + ", password = " + password + ", roleId = " + roleId + ", createTime = " + createTime + ", adminState = " + adminState + "}";
    }
}
